package com.swordliu.facebook.service;

import com.swordliu.facebook.pojo.entity.Role;
import com.swordliu.facebook.service.base.BaseService;

import java.util.List;
import java.util.Set;

/**
 * RoleService
 * Created by SwordLiu on 2017-07-24.
 */
public interface RoleService extends BaseService<Role> {

    List<Role> getRoles() throws Exception;

    Set<String> getRoleKeys(Long id);

}
